package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName SendAppointSignMobileCodeReq
 * @Description 指定手机发送签署短信验证码类
 * @Author liwq
 * @Date 2020/11/22 14:17
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "指定手机发送签署短信验证码类", description = "指定手机发送签署短信验证码类,仅支持 e 签宝")
public class SendAppointSignMobileCodeReq extends BaseReqObj {

    private static final long serialVersionUID = 5777968644060806749L;

    @ApiModelProperty(value = "签署者账号标识", notes = "签署者账号标识", dataType = "String", required = true)
    @NotBlank(message = "签署者账号标识不能为空")
    private String accountId;

    @ApiModelProperty(value = "待接收短信验证码的手机号", notes = "待接收短信验证码的手机号", dataType = "String", required = true)
    @NotBlank(message = "待接收短信验证码的手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "标记是否为国外账号，true为国内手机号，false为国外手机号，默认true",
        notes = "标记是否为国外账号，true为国内手机号，false为国外手机号，默认true", dataType = "String")
    private Boolean isInland = true;
}
